package com.abc.config;


import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author 可爱小欣憨宝
 * @description
 * @create 2024-10-26 21:34
 */

@Data
@Configuration
@ConfigurationProperties(prefix = "spark-gpt")
public class SparkGptConfig {
    @Value("${spark-gpt.api-password}")
    private String apiPassword;
    @Value("${spark-gpt.app-id}")
    private String appId;
    @Value("${spark-gpt.api-secret}")
    private String apiSecret;
    @Value("${spark-gpt.api-key}")
    private String apiKey;
}
